package com.chengcang.api.modules.busi.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 转单Dto
 *
 * @Name TransferOrderDto
 * @Author bbj
 * @Date 2023-01-15 16:08
 */
@Data
@ApiModel(value = "转单Dto")
public class TransferOrderDTO {

    @NotNull(message = "转单类型不能为空")
    @ApiModelProperty(value = "转单类型。1：公共池、2、定向推送")
    private Integer type;

    @ApiModelProperty(value = "客户编号")
    private String[] assignIds;

    @NotNull(message = "需求单id不能为空")
    @ApiModelProperty(value = "需求单id")
    private Long id;

    @ApiModelProperty(value = "转单需求数量")
    private String transferNumber;
}
